
import { ApiProperty } from '@midwayjs/swagger';

export class GetModule1Dto {
  @ApiProperty({
    example: '1',
    description: '页码',
  })
  page_index: number;

  @ApiProperty({
    example: '1',
    description: '页码长度',
  })
  page_size: number;

  @ApiProperty({
    description: '算法关键词',
  })
  keyword: string;
}

export class addProductDto {
  @ApiProperty({
    example: 'BGC_0902_GF184',
    description: '产品名称',
  })
  productName: string;

  @ApiProperty({
    example: 'S2X_MSI',
    description: '卫星类型',
  })
  satelliteType: string;

  @ApiProperty({
    example: '2022-09-09',
    description: '影像日期',
  })
  produceDate: string;

  @ApiProperty({
    example: 'BGC_0902_GF184',
    description: '产品步骤1',
  })
  step1: string;

  @ApiProperty({
    example: 'BGC_0902_GF184',
    description: '产品步骤1',
  })
  step2: string;

  @ApiProperty({
    example: 'BGC_0902_GF184',
    description: '产品步骤1',
  })
  step3: string;

  @ApiProperty({
    example: 'BGC_0902_GF184',
    description: '产品步骤1',
  })
  step4: string;

  @ApiProperty({
    example: 'BGC_0902_GF184',
    description: '产品步骤1',
  })
  step5: string;

}